package com.starlink.model.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.starlink.common.domain.BaseEntity;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @author zhanghong
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@TableName("mall_refund_articles")
public class MallRefundArticlesDO extends BaseEntity implements Serializable {
    private static final long serialVersionUID = 1L;
    /** 售后ID */
    @TableField("refund_id")
    private Long refundId;
    /** 商品ID */
    @TableField("articles_id")
    private Long articlesId;
    /** 商品类别 1书籍 2周边 3积分  */
    @TableField("articles_category")
    private Integer articlesCategory;
    /** 名称 */
    @TableField("title")
    private String title;
    /** 封面*/
    @TableField("picture")
    private String picture;
    /** 购买数量 */
    @TableField("quantity")
    private Long quantity;
    /** 单价 */
    @TableField("unit_price")
    private BigDecimal unitPrice;
    /** 规格 */
    @TableField("specification")
    private String specification;
    /** 规格ID */
    @TableField("specification_id")
    private Long specificationId;
}
